package Day7;

public class Detection {
    private String name;
    private long phone = 13455689123L;
    private String size = "安徽-合肥-青鸟修理厂";
    public Detection() {
    }

    public Detection(String name, long phone, String size) {
        this.name = name;
        this.phone = phone;
        this.size = size;
    }

    public long getPhone() {
        return phone;
    }

    public void setPhone(long phone) {
        this.phone = phone;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public Detection(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "检测中心{" +
                "店名='" + name + '\'' +
                ", 电话=" + phone +
                ", 地址='" + size + '\'' +
                '}';
    }


}
